package com.opo5.logisticsmanagement.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.opo5.logisticsmanagement.common.R;
import com.opo5.logisticsmanagement.domain.Role;

import java.util.List;

/**
* @author lixin
* @description 针对表【tbs_role】的数据库操作Service
* @createDate 2022-07-10 08:55:41
*/
public interface RoleService extends IService<Role> {


    R getRoleByCondition(String name, Integer currentPage, Integer pageSize);

    R getRoleById(Integer id);

    R addRole(Role role);

    R editRole(Role role);

    R delRole(Integer[] ids);

    List<Role> getRoleAll();
}
